package com.example.deepschool.enums;

import lombok.Getter;

/**
 * org.apache.tika 库的图片类型
 */
@Getter
public enum ImageType {
	
	JPEG( "image/jpeg" ),
	PNG( "image/png" ),
	GIF( "image/gif" ),
	BMP( "image/bmp" ),
	TIFF( "image/tiff" ),
	WEBP( "image/webp" ),
	SVG( "image/svg+xml" ),
	ICO( "image/x-icon" ),
	PSD( "image/vnd.adobe.photoshop" ),
	HEIC( "image/heic" ),
	HEIF( "image/heif" ),
	AVIF( "image/avif" ),
	JXL( "image/jxl" ),
	JP2( "image/jp2" ),
	JPX( "image/jpx" ),
	JPM( "image/jpm" ),
	JB2( "image/x-jbig2" ),
	RAW( "image/x-raw" ),
	CR2( "image/x-canon-cr2" ),
	NEF( "image/x-nikon-nef" ),
	ARW( "image/x-sony-arw" ),
	TGA( "image/tga" ),
	PPM( "image/x-portable-pixmap" ),
	PNM( "image/x-portable-anymap" ),
	PBM( "image/x-portable-bitmap" ),
	PGM( "image/x-portable-graymap" ),
	JPC( "image/jpc" );
	
	
	private final String value;
	
	ImageType (String value) {
		this.value = value;
	}
	
}
